<div id="wrapper-content" align="left">

    <div id="titre_list_produit"><?php echo $langue['panier']; ?></div>
    <div id="wrapper_commande" align="left">
        <?php if (!empty($list_panier)) {
 ?>
            <table id="list_commande" cellpadding="0" cellspacing="0" width="100%">
                <thead>
                <th align="left">Photo</th>
                <th align="left"><?php echo $langue['profil_nom']; ?></th>
                <th align="left"><?php echo $langue['quantite']; ?></th>
                <th align="left"><?php echo $langue['montant']; ?></th>
                <th align="left">Action</th>

                </thead>
<?php foreach ($list_panier as $aRow): ?>
                <tr>
                    <td><img width="50px" src="<?php echo base_url() . 'assets/thumbs/' . $aRow['img'] ?>"/></td>
                    <td><?php echo $aRow['name']; ?></td>
                    <td><?php echo $aRow['qty']; ?></td>
                    <td><?php echo $aRow['price'] * $aRow['qty']; ?> &euro;</td>
                    <td><a href="<?php echo site_url('jaco/supprimer_produit_panier/' . $aRow['rowid']); ?>" class="link_detail"><?php echo $langue['supprimer']; ?> </a></td>
                </tr>
<?php endforeach; ?>
            </table>
            <br/>
        <?php
                $totalproduit = $this->cart->total();
                if ($totalproduit != null) {
        ?>
                    <table width="100%">
                        <tr>
                            <td align="left">
                    <?php
                    $clientid = $this->session->userdata('clientid');
                    if ($clientid != null && $clientid != "") {
 ?>
                        <a class="bpanier" href="<?php echo site_url('jaco/acheter_etape1'); ?>"><?php echo $langue['acheter']; ?></a>
<?php } else { ?>
                        <a class="bpanier" href="<?php echo site_url('jaco/connexion'); ?>"><?php echo $langue['connexion_acheter']; ?></a>
<?php } ?>
                    <a class="bpanier" href="<?php echo site_url('jaco/supprimer_tous_panier_redirect'); ?>"><?php echo $langue['supprimer_tous']; ?></a>
                </td>
                <td id="total_panier" width="200px" align="center">  Total : <?php echo $totalproduit . " &euro;"; ?> </td>
                        </tr>
                    </table>
<?php } ?>

<?php } else
                echo "aucun produit"; ?>
    </div>
    <!--end wrapper_commande-->

</div>

<!--end wrapper-content-->